package com.cspg.design.bean;

public class UserInfo {
    private static UserInfo mUserInfo = null;
    public  String CompanyName;
    public  String EmployeeID;
    public  String EmployeeName;
    public  int UserRight;
    public  String token;

    public static UserInfo getInstance(){
        if (mUserInfo == null){
            synchronized (UserInfo.class){
                if (mUserInfo == null){
                    mUserInfo = new UserInfo();
                }
            }
        }
        return mUserInfo;
    }

    public static void setUserInfo(UserInfo userInfo){
        mUserInfo = userInfo;
    }
}
